/*
 * dancingI.h
 *
 *  Created on: Sep 18, 2011
 *      Author: jiqinwang
 */

#ifndef DANCINGI_H_
#define DANCINGI_H_
#include <vector>
#include "vec3f.h"
        
class dancingI{
public:
    
    class face {
    public:
            std::vector<Vec3f> vertices;
            float color[3];
            Vec3f norm;
            face();
            virtual ~face();
            int insertVertices(float t[3]);
            int insertVertices(float x, float y, float z);
    };
    dancingI();
    ~dancingI(); 
    float getX(float from_top);
        float getZ(float from_top);
        Vec3f symAboutX(Vec3f v);
                Vec3f symAboutZ(Vec3f v);

    dancingI::face * top;
    dancingI::face * bottom;
    dancingI::face * left;
    dancingI::face * right;
    dancingI::face * front;
    dancingI::face * back;
    float x;
    float ratio;
    float half_height;
    float top_length;
    float bottom_length;
    float aux;
    float center[3];
    
 
};
#endif /* DANCINGI_H_ */
